package cn.iocoder.yudao.module.peizhen.controller.admin.buiessorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 订单新增/修改 Request VO")
@Data
public class BuiessOrderSaveReqVO {

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24545")
    private Long id;

    @Schema(description = "订单流水号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String no;

    @Schema(description = "医院编号", example = "20816")
    private Integer hospitalId;

    @Schema(description = "医院名称", example = "张三")
    private String hospitalName;

    @Schema(description = "科室编号", example = "5346")
    private Integer sectionId;

    @Schema(description = "科室名称", example = "王五")
    private String sectionName;

    @Schema(description = "期望就诊时间")
    private LocalDateTime hopeTime;

    @Schema(description = "订单类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer type;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18784")
    private Long memberId;

    @Schema(description = "用户额外需求", example = "随便")
    private String memberRemark;

    @Schema(description = "服务项目", example = "15582")
    private Integer programId;

    @Schema(description = "服务项目名称", example = "张三")
    private String programName;

    @Schema(description = "就诊人id", example = "23313")
    private Long paitentId;

    @Schema(description = "就诊人姓名", example = "芋艿")
    private String paitentName;

    @Schema(description = "服务人员id", example = "16800")
    private Long staffId;

    @Schema(description = "服务人员姓名", example = "赵六")
    private String staffName;

    @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

    @Schema(description = "商家备注", example = "你说的对")
    private String remark;

    @Schema(description = "支付订单编号", example = "21815")
    private Long payOrderId;

    @Schema(description = "是否已支付：[0:未支付 1:已经支付过]", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Boolean payStatus;

    @Schema(description = "订单支付时间")
    private LocalDateTime payTime;

    @Schema(description = "支付成功的支付渠道")
    private String payChannelCode;

    @Schema(description = "订单完成时间")
    private LocalDateTime finishTime;

    @Schema(description = "订单取消时间")
    private LocalDateTime cancelTime;

    @Schema(description = "商品原价（总），单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "12973")
    private Integer totalPrice;

    @Schema(description = "订单优惠（总），单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "11908")
    private Integer discountPrice;

    @Schema(description = "应付金额（总），单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "3573")
    private Integer payPrice;

    @Schema(description = "退款金额，单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "31339")
    private Integer refundPrice;

    @Schema(description = "使用的积分", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer usePoint;

    @Schema(description = "积分抵扣的金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "11235")
    private Integer pointPrice;

}